﻿using System.Text;

namespace Tumblr.API.PostType
{
    public class Video : Common
    {
        private string _sCaption;

        public string Embed { get; set; }

        public string Caption
        {
            get
            {
                return _sCaption;
            }
            set
            {
                string s = value.Replace("\r", "");
                s = s.Replace("\n", "");
                _sCaption = System.Web.HttpUtility.UrlEncode(s, Encoding.UTF8);
            }
        }
    }
}